package com.app.bean;

import java.util.ArrayList;
import java.util.List;

public class SlxxExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SlxxExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andWpidIsNull() {
            addCriterion("wpid is null");
            return (Criteria) this;
        }

        public Criteria andWpidIsNotNull() {
            addCriterion("wpid is not null");
            return (Criteria) this;
        }

        public Criteria andWpidEqualTo(Integer value) {
            addCriterion("wpid =", value, "wpid");
            return (Criteria) this;
        }

        public Criteria andWpidNotEqualTo(Integer value) {
            addCriterion("wpid <>", value, "wpid");
            return (Criteria) this;
        }

        public Criteria andWpidGreaterThan(Integer value) {
            addCriterion("wpid >", value, "wpid");
            return (Criteria) this;
        }

        public Criteria andWpidGreaterThanOrEqualTo(Integer value) {
            addCriterion("wpid >=", value, "wpid");
            return (Criteria) this;
        }

        public Criteria andWpidLessThan(Integer value) {
            addCriterion("wpid <", value, "wpid");
            return (Criteria) this;
        }

        public Criteria andWpidLessThanOrEqualTo(Integer value) {
            addCriterion("wpid <=", value, "wpid");
            return (Criteria) this;
        }

        public Criteria andWpidIn(List<Integer> values) {
            addCriterion("wpid in", values, "wpid");
            return (Criteria) this;
        }

        public Criteria andWpidNotIn(List<Integer> values) {
            addCriterion("wpid not in", values, "wpid");
            return (Criteria) this;
        }

        public Criteria andWpidBetween(Integer value1, Integer value2) {
            addCriterion("wpid between", value1, value2, "wpid");
            return (Criteria) this;
        }

        public Criteria andWpidNotBetween(Integer value1, Integer value2) {
            addCriterion("wpid not between", value1, value2, "wpid");
            return (Criteria) this;
        }

        public Criteria andWpmcIsNull() {
            addCriterion("wpmc is null");
            return (Criteria) this;
        }

        public Criteria andWpmcIsNotNull() {
            addCriterion("wpmc is not null");
            return (Criteria) this;
        }

        public Criteria andWpmcEqualTo(String value) {
            addCriterion("wpmc =", value, "wpmc");
            return (Criteria) this;
        }

        public Criteria andWpmcNotEqualTo(String value) {
            addCriterion("wpmc <>", value, "wpmc");
            return (Criteria) this;
        }

        public Criteria andWpmcGreaterThan(String value) {
            addCriterion("wpmc >", value, "wpmc");
            return (Criteria) this;
        }

        public Criteria andWpmcGreaterThanOrEqualTo(String value) {
            addCriterion("wpmc >=", value, "wpmc");
            return (Criteria) this;
        }

        public Criteria andWpmcLessThan(String value) {
            addCriterion("wpmc <", value, "wpmc");
            return (Criteria) this;
        }

        public Criteria andWpmcLessThanOrEqualTo(String value) {
            addCriterion("wpmc <=", value, "wpmc");
            return (Criteria) this;
        }

        public Criteria andWpmcLike(String value) {
            addCriterion("wpmc like", value, "wpmc");
            return (Criteria) this;
        }

        public Criteria andWpmcNotLike(String value) {
            addCriterion("wpmc not like", value, "wpmc");
            return (Criteria) this;
        }

        public Criteria andWpmcIn(List<String> values) {
            addCriterion("wpmc in", values, "wpmc");
            return (Criteria) this;
        }

        public Criteria andWpmcNotIn(List<String> values) {
            addCriterion("wpmc not in", values, "wpmc");
            return (Criteria) this;
        }

        public Criteria andWpmcBetween(String value1, String value2) {
            addCriterion("wpmc between", value1, value2, "wpmc");
            return (Criteria) this;
        }

        public Criteria andWpmcNotBetween(String value1, String value2) {
            addCriterion("wpmc not between", value1, value2, "wpmc");
            return (Criteria) this;
        }

        public Criteria andWpxhIsNull() {
            addCriterion("wpxh is null");
            return (Criteria) this;
        }

        public Criteria andWpxhIsNotNull() {
            addCriterion("wpxh is not null");
            return (Criteria) this;
        }

        public Criteria andWpxhEqualTo(String value) {
            addCriterion("wpxh =", value, "wpxh");
            return (Criteria) this;
        }

        public Criteria andWpxhNotEqualTo(String value) {
            addCriterion("wpxh <>", value, "wpxh");
            return (Criteria) this;
        }

        public Criteria andWpxhGreaterThan(String value) {
            addCriterion("wpxh >", value, "wpxh");
            return (Criteria) this;
        }

        public Criteria andWpxhGreaterThanOrEqualTo(String value) {
            addCriterion("wpxh >=", value, "wpxh");
            return (Criteria) this;
        }

        public Criteria andWpxhLessThan(String value) {
            addCriterion("wpxh <", value, "wpxh");
            return (Criteria) this;
        }

        public Criteria andWpxhLessThanOrEqualTo(String value) {
            addCriterion("wpxh <=", value, "wpxh");
            return (Criteria) this;
        }

        public Criteria andWpxhLike(String value) {
            addCriterion("wpxh like", value, "wpxh");
            return (Criteria) this;
        }

        public Criteria andWpxhNotLike(String value) {
            addCriterion("wpxh not like", value, "wpxh");
            return (Criteria) this;
        }

        public Criteria andWpxhIn(List<String> values) {
            addCriterion("wpxh in", values, "wpxh");
            return (Criteria) this;
        }

        public Criteria andWpxhNotIn(List<String> values) {
            addCriterion("wpxh not in", values, "wpxh");
            return (Criteria) this;
        }

        public Criteria andWpxhBetween(String value1, String value2) {
            addCriterion("wpxh between", value1, value2, "wpxh");
            return (Criteria) this;
        }

        public Criteria andWpxhNotBetween(String value1, String value2) {
            addCriterion("wpxh not between", value1, value2, "wpxh");
            return (Criteria) this;
        }

        public Criteria andWpCountIsNull() {
            addCriterion("wp_count is null");
            return (Criteria) this;
        }

        public Criteria andWpCountIsNotNull() {
            addCriterion("wp_count is not null");
            return (Criteria) this;
        }

        public Criteria andWpCountEqualTo(Integer value) {
            addCriterion("wp_count =", value, "wpCount");
            return (Criteria) this;
        }

        public Criteria andWpCountNotEqualTo(Integer value) {
            addCriterion("wp_count <>", value, "wpCount");
            return (Criteria) this;
        }

        public Criteria andWpCountGreaterThan(Integer value) {
            addCriterion("wp_count >", value, "wpCount");
            return (Criteria) this;
        }

        public Criteria andWpCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("wp_count >=", value, "wpCount");
            return (Criteria) this;
        }

        public Criteria andWpCountLessThan(Integer value) {
            addCriterion("wp_count <", value, "wpCount");
            return (Criteria) this;
        }

        public Criteria andWpCountLessThanOrEqualTo(Integer value) {
            addCriterion("wp_count <=", value, "wpCount");
            return (Criteria) this;
        }

        public Criteria andWpCountIn(List<Integer> values) {
            addCriterion("wp_count in", values, "wpCount");
            return (Criteria) this;
        }

        public Criteria andWpCountNotIn(List<Integer> values) {
            addCriterion("wp_count not in", values, "wpCount");
            return (Criteria) this;
        }

        public Criteria andWpCountBetween(Integer value1, Integer value2) {
            addCriterion("wp_count between", value1, value2, "wpCount");
            return (Criteria) this;
        }

        public Criteria andWpCountNotBetween(Integer value1, Integer value2) {
            addCriterion("wp_count not between", value1, value2, "wpCount");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("userid is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("userid is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(Integer value) {
            addCriterion("userid =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(Integer value) {
            addCriterion("userid <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(Integer value) {
            addCriterion("userid >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(Integer value) {
            addCriterion("userid >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(Integer value) {
            addCriterion("userid <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(Integer value) {
            addCriterion("userid <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<Integer> values) {
            addCriterion("userid in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<Integer> values) {
            addCriterion("userid not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(Integer value1, Integer value2) {
            addCriterion("userid between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(Integer value1, Integer value2) {
            addCriterion("userid not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNull() {
            addCriterion("username is null");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNotNull() {
            addCriterion("username is not null");
            return (Criteria) this;
        }

        public Criteria andUsernameEqualTo(String value) {
            addCriterion("username =", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotEqualTo(String value) {
            addCriterion("username <>", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThan(String value) {
            addCriterion("username >", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThanOrEqualTo(String value) {
            addCriterion("username >=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThan(String value) {
            addCriterion("username <", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThanOrEqualTo(String value) {
            addCriterion("username <=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLike(String value) {
            addCriterion("username like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotLike(String value) {
            addCriterion("username not like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameIn(List<String> values) {
            addCriterion("username in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotIn(List<String> values) {
            addCriterion("username not in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameBetween(String value1, String value2) {
            addCriterion("username between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotBetween(String value1, String value2) {
            addCriterion("username not between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andSlTimeIsNull() {
            addCriterion("sl_time is null");
            return (Criteria) this;
        }

        public Criteria andSlTimeIsNotNull() {
            addCriterion("sl_time is not null");
            return (Criteria) this;
        }

        public Criteria andSlTimeEqualTo(String value) {
            addCriterion("sl_time =", value, "slTime");
            return (Criteria) this;
        }

        public Criteria andSlTimeNotEqualTo(String value) {
            addCriterion("sl_time <>", value, "slTime");
            return (Criteria) this;
        }

        public Criteria andSlTimeGreaterThan(String value) {
            addCriterion("sl_time >", value, "slTime");
            return (Criteria) this;
        }

        public Criteria andSlTimeGreaterThanOrEqualTo(String value) {
            addCriterion("sl_time >=", value, "slTime");
            return (Criteria) this;
        }

        public Criteria andSlTimeLessThan(String value) {
            addCriterion("sl_time <", value, "slTime");
            return (Criteria) this;
        }

        public Criteria andSlTimeLessThanOrEqualTo(String value) {
            addCriterion("sl_time <=", value, "slTime");
            return (Criteria) this;
        }

        public Criteria andSlTimeLike(String value) {
            addCriterion("sl_time like", value, "slTime");
            return (Criteria) this;
        }

        public Criteria andSlTimeNotLike(String value) {
            addCriterion("sl_time not like", value, "slTime");
            return (Criteria) this;
        }

        public Criteria andSlTimeIn(List<String> values) {
            addCriterion("sl_time in", values, "slTime");
            return (Criteria) this;
        }

        public Criteria andSlTimeNotIn(List<String> values) {
            addCriterion("sl_time not in", values, "slTime");
            return (Criteria) this;
        }

        public Criteria andSlTimeBetween(String value1, String value2) {
            addCriterion("sl_time between", value1, value2, "slTime");
            return (Criteria) this;
        }

        public Criteria andSlTimeNotBetween(String value1, String value2) {
            addCriterion("sl_time not between", value1, value2, "slTime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andRefuseCauseIsNull() {
            addCriterion("refuse_cause is null");
            return (Criteria) this;
        }

        public Criteria andRefuseCauseIsNotNull() {
            addCriterion("refuse_cause is not null");
            return (Criteria) this;
        }

        public Criteria andRefuseCauseEqualTo(String value) {
            addCriterion("refuse_cause =", value, "refuseCause");
            return (Criteria) this;
        }

        public Criteria andRefuseCauseNotEqualTo(String value) {
            addCriterion("refuse_cause <>", value, "refuseCause");
            return (Criteria) this;
        }

        public Criteria andRefuseCauseGreaterThan(String value) {
            addCriterion("refuse_cause >", value, "refuseCause");
            return (Criteria) this;
        }

        public Criteria andRefuseCauseGreaterThanOrEqualTo(String value) {
            addCriterion("refuse_cause >=", value, "refuseCause");
            return (Criteria) this;
        }

        public Criteria andRefuseCauseLessThan(String value) {
            addCriterion("refuse_cause <", value, "refuseCause");
            return (Criteria) this;
        }

        public Criteria andRefuseCauseLessThanOrEqualTo(String value) {
            addCriterion("refuse_cause <=", value, "refuseCause");
            return (Criteria) this;
        }

        public Criteria andRefuseCauseLike(String value) {
            addCriterion("refuse_cause like", value, "refuseCause");
            return (Criteria) this;
        }

        public Criteria andRefuseCauseNotLike(String value) {
            addCriterion("refuse_cause not like", value, "refuseCause");
            return (Criteria) this;
        }

        public Criteria andRefuseCauseIn(List<String> values) {
            addCriterion("refuse_cause in", values, "refuseCause");
            return (Criteria) this;
        }

        public Criteria andRefuseCauseNotIn(List<String> values) {
            addCriterion("refuse_cause not in", values, "refuseCause");
            return (Criteria) this;
        }

        public Criteria andRefuseCauseBetween(String value1, String value2) {
            addCriterion("refuse_cause between", value1, value2, "refuseCause");
            return (Criteria) this;
        }

        public Criteria andRefuseCauseNotBetween(String value1, String value2) {
            addCriterion("refuse_cause not between", value1, value2, "refuseCause");
            return (Criteria) this;
        }

        public Criteria andUserField1IsNull() {
            addCriterion("user_field1 is null");
            return (Criteria) this;
        }

        public Criteria andUserField1IsNotNull() {
            addCriterion("user_field1 is not null");
            return (Criteria) this;
        }

        public Criteria andUserField1EqualTo(String value) {
            addCriterion("user_field1 =", value, "userField1");
            return (Criteria) this;
        }

        public Criteria andUserField1NotEqualTo(String value) {
            addCriterion("user_field1 <>", value, "userField1");
            return (Criteria) this;
        }

        public Criteria andUserField1GreaterThan(String value) {
            addCriterion("user_field1 >", value, "userField1");
            return (Criteria) this;
        }

        public Criteria andUserField1GreaterThanOrEqualTo(String value) {
            addCriterion("user_field1 >=", value, "userField1");
            return (Criteria) this;
        }

        public Criteria andUserField1LessThan(String value) {
            addCriterion("user_field1 <", value, "userField1");
            return (Criteria) this;
        }

        public Criteria andUserField1LessThanOrEqualTo(String value) {
            addCriterion("user_field1 <=", value, "userField1");
            return (Criteria) this;
        }

        public Criteria andUserField1Like(String value) {
            addCriterion("user_field1 like", value, "userField1");
            return (Criteria) this;
        }

        public Criteria andUserField1NotLike(String value) {
            addCriterion("user_field1 not like", value, "userField1");
            return (Criteria) this;
        }

        public Criteria andUserField1In(List<String> values) {
            addCriterion("user_field1 in", values, "userField1");
            return (Criteria) this;
        }

        public Criteria andUserField1NotIn(List<String> values) {
            addCriterion("user_field1 not in", values, "userField1");
            return (Criteria) this;
        }

        public Criteria andUserField1Between(String value1, String value2) {
            addCriterion("user_field1 between", value1, value2, "userField1");
            return (Criteria) this;
        }

        public Criteria andUserField1NotBetween(String value1, String value2) {
            addCriterion("user_field1 not between", value1, value2, "userField1");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}